package com.exm.collectcodenew.increaseKnowledge;


/**
 * 布尔类型的赋值作为判断条件
 * 由LoggAdder.add(long x)方法中的uncontended变量作为if中的判断
 */
public class AssignAsJudge {
    public static void main(String[] args) {
        boolean uncontended = true;
        if (!(uncontended = false)){
            System.out.println("uncontended:"+uncontended);
        }
    }

}
